package com.ybkj.o2o.zhuanxian.common;

import java.math.BigDecimal;
import java.util.List;

public class DriverOrderVo {

  private Long driverid;

  private List<DriverOrderVo> drivers;

  private String username;

  private String name;

  private String companyName;

  private long finishNums;// 订单数

  private BigDecimal money;// 订单金额

  private BigDecimal virtual;// 余额

  private BigDecimal ticheng;// 提成

  private String type;// 员工类型

  private String introduced;//介绍



  public List<DriverOrderVo> getDrivers() {
    return drivers;
  }

  public void setDrivers(List<DriverOrderVo> drivers) {
    this.drivers = drivers;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getCompanyName() {
    return companyName;
  }

  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }

  public long getFinishNums() {
    return finishNums;
  }

  public void setFinishNums(long finishNums) {
    this.finishNums = finishNums;
  }

  /**
   * 获取金额 .
   * @return 金额
   */
  public BigDecimal getMoney() {
    if (null == money) {
      return BigDecimal.ZERO;
    }
    return money;
  }

  public void setMoney(BigDecimal money) {
    this.money = money;
  }

  /**
   * 获取余额 .
   * @return 余额
   */
  public BigDecimal getVirtual() {
    if (null == virtual) {
      return BigDecimal.ZERO;
    }
    return virtual;
  }

  public void setVirtual(BigDecimal virtual) {
    this.virtual = virtual;
  }

  /**
   * 获取提成 .
   * @return 提成
   */
  public BigDecimal getTicheng() {
    if (null == ticheng) {
      return BigDecimal.ZERO;
    }
    return ticheng;
  }

  public void setTicheng(BigDecimal ticheng) {
    this.ticheng = ticheng;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public Long getDriverid() {
    return driverid;
  }

  public void setDriverid(Long driverid) {
    this.driverid = driverid;
  }
  
  /**
   * 介绍 .
   * @return 介绍
   */
  public String getIntroduced() {
    if (null == introduced) {
      return "";
    }
    return introduced;
  }

  public void setIntroduced(String introduced) {
    this.introduced = introduced;
  }



}
